package net.xiaowenhou.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class HelloController {

    @RequestMapping(value = "/", method = RequestMethod.GET)
    public String index(ModelMap map){
       // map.addAttribute("message", "http://www.xiaowenhou.net");
        return "home";
    }
}
